reddit 홍보

마지막 수정일: 2026. 02. 27.

제목 : I built runx — run self-contained TypeScript scripts with inline dependencies, perfect for
AI-generated throwaway scripts

본문
If you use Claude/ChatGPT/Copilot to generate utility scripts, you've probably run into this:

  1. AI writes a script that needs axios, zod, csv-parser, etc.
  2. You npm install them into your project
  3. Your package.json and lock file get cluttered with one-off deps
  4. You forget to remove them later

I built runx to fix this. It's like Python's uv run but for TypeScript —
dependencies are declared inline in the script itself, installed into an isolated cache,
and your project stays completely untouched.

Just tell your AI assistant: "write a runx script that does X" and you get a single
self-contained .ts file. Delete it when done. That's it.

CODE
  #!/usr/bin/env runx
  /**
   * @runx {
   *   "dependencies": { "cheerio": "^1.0.0", "chalk": "latest" }
   * }
   * 
   */
  import * as cheerio from 'cheerio';
  import chalk from 'chalk';
  // ... your AI-generated scraping script

No package.json changes. No lock file diffs. No cleanup.

GitHub: https://github.com/CenCiviC/runx

reddit
https://www.reddit.com/r/ClaudeAI/
https://www.reddit.com/r/ChatGPT/


Create a runx script that makes a pdf file with project introduction